package com.interagriculture.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 11 2024/11/14
 */
@Data
public class JournalismVO implements Serializable {
    private static final long serialVersionUID = 483962698582834205L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 新闻标题
     */
    private String title;
    /**
     * 新闻发布
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    //可以做成封面展示部分新闻正文
//    private String mainBody;
    private String picture;


}
